package com.zhuoya.healthcard;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

public class BaseActity extends AppCompatActivity {
    private void setSystemUIVisible(boolean paramBoolean) {
        if (paramBoolean) {
            getWindow().getDecorView().setSystemUiVisibility(0x100 | 0x1000);
            return;
        }
        getWindow().getDecorView().setSystemUiVisibility(0x706 | 0x1000);
    }

    protected void onCreate(Bundle paramBundle) {
        super.onCreate(paramBundle);
        setSystemUIVisible(false);
    }
}
